package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.entity.TemplateEquipment;

import java.util.List;

public interface TemplateEquipmentService {

    /**
     * 批量添加Equipments
     *
     * @param equipmentList
     * @return
     */
    boolean insertEquipments(List<TemplateEquipment> equipmentList);

    /**
     * 根据模板id查询出装备赠送信息
     *
     * @param templateId
     * @return
     */
    List<TemplateEquipment> selectAllByTemplateId(String templateId);

    /**
     * 据模板id删除装备赠送信息
     *
     * @param templateId
     * @return
     */
    boolean delEquipmentByTemId(String templateId);
}


